package com.victor.service;

import java.util.List;
import java.util.Map;

import com.victor.entity.Series;

public interface SeriesService {
    boolean batchDelete(int[] ids);

    boolean insertSeries(Series record);

    Series findById(Integer sId);

    boolean update(Series record);

	boolean saveSeries(Series series, int[] pictureIds);

	List<Series> getSeries(String sName,int[] ageIds, int[] categoryIds, Integer copyrightid,String flag);

	List<Series> getAudioSeries(String sName, int[] ageIds, int[] categoryIds, Integer copyrightid,String flag);

	List<Map<String, String>> getSearch(String name,  int[] ageIds, int[] categoryIds,String pictype,String userid,String flag);

	Map<String,String> getDetails(Integer sid);
	
	List<Map<String, String>> getPicByCategory(String pictype, String userid);

	boolean updateService(Series series, int[] pictureIds);
}